package com.grade.system.controller;


import com.grade.system.mapper.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MainController {

    @Autowired
    private StudentMapper studentMapper;


    @RequestMapping({"/", "/login"})
    public String login() {
        return "login";
    }

    @RequestMapping({"/register"})
    public String register() {
        return "register";
    }

    @RequestMapping({"/home"})
    public String home() {
        return "home";
    }

    @RequestMapping({"/student_info"})
    public String student_info() {
        return "student_info";
    }

    @RequestMapping({"/grade_info"})
    public String grade_info() {
        return "grade_info";
    }

}
